package com.woniu.dao;

import com.woniu.entity.RbacPerm;

import java.util.List;
import java.util.Set;

/**
 * @author WenXin
 * @version 1.0
 * @description: TODO
 * @date 2022/9/3 13:45
 */
public interface RbacPermDao {
    List<RbacPerm> findAll();

    int addOne(RbacPerm rbacPerm);

    int deleteById(int id);

    int update(RbacPerm rbacPerm);

    List<RbacPerm> searchByPerms(RbacPerm rbacPerm);

    Set<String> findPermBySetRoles(String username);
}
